package com.wanmait.wisdom.manage.service.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wanmait.wisdom.entity.HouseState;
import com.wanmait.wisdom.manage.service.ManageHouseStateService;
import com.wanmait.wisdom.mapper.HouseStateMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class ManageHouseStateServiceImpl extends ServiceImpl<HouseStateMapper, HouseState> implements ManageHouseStateService {

    @Resource
    private HouseStateMapper houseStateMapper;
    @Override
    public List<HouseState> findHouseStateOptions() {
        return houseStateMapper.selectList(null);
    }
}
